{% extends 'base.html' %}
{% load static %}

{% block right_content %}
<link rel="stylesheet" href="{% static 'css/form.css' %}">

<div class="bottom"> 
    <div class="container">
        <h1 style="text-align: center;">确定删除</h1>
        <p>您确定要删除班级 "{{ object.grade_name }}" 吗？<p style="color: red;">此操作不可逆！</p></p>
        <form action="" method="post" class="text-align:center">
            {% csrf_token %}
            <div class="handButton" style="text-align: center;">
                <button type="submit" id="cancelButton" style="background-color: red;color: aliceblue;"> 确认删除
                    <a href="{% url 'grades_list' %}">
                        <button type="button" style="background-color: green;color: aliceblue;">取消</button>
                    </a>
                </button> 
            </div>
        </form>
    </div>
</div>
{% endblock %}